$(function() {
	$.ajax({
		type : "POST",
		async: false,
		url : SystemConfig.baseServiceUrl + "group/queryGroupInfoById",
		data : $.toJSON({'id': SystemUtil.getUrlParam('groupId')}),
		contentType : "application/json; charset=UTF-8",
		dataType : "json",
		success : function(data) {
			var groupInfo = data.groupInfo;
			$(".keep_creat_img").attr('src', SystemUtil.buildImageUrl(groupInfo.managerQrCodeUrl, "400x400"));
			$(".goBack").attr('href', './groupDetail.html?groupId=' + SystemUtil.getUrlParam('groupId'));
			$(".keep_sublit").click(function(){
				var imageSrc = $(".keep_creat_img").attr('src');
				SystemUtil.downLoadReportIMG(imageSrc);
			});
		},
		exception : function(resp) {
			var message = resp.responseStatus.message;
			alert(message);
		}
	});
});